package com.ctshk.rpc.finance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 财务销账申请记录
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_off_account_apply")
@ApiModel(value="FinanceOffAccountApply对象", description="财务销账申请记录")
public class FinanceOffAccountApply extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属挂账ID")
    private Long onAccountId;

    @ApiModelProperty(value = "是否使用预收款")
    private Integer useAdvanceMoney;

    @ApiModelProperty(value = "收款方式id")
    private Long paymentMethodId;

    @ApiModelProperty(value = "收款方式名称")
    private String paymentMethodName;

    @ApiModelProperty(value = "收款时间")
    private LocalDateTime collectionTime;

    @ApiModelProperty(value = "是否返还额度")
    private Integer isReturnAmount;

    @ApiModelProperty(value = "销账说明")
    private String remark;

    @ApiModelProperty(value = "收款凭证JSON")
    private String collectionFilesJson;

    @ApiModelProperty(value = "金额JSON")
    private String amountJson;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批id")
    private Long approvalId;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
